#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Xiaobao Zeng<zengxiaobao@skyworth.com>
# Created Time: 2015-12-30 10:19:31
# Last Modified: 2017-06-13 10:09:07
# File Name: adop.sh
# Description: 


#host="127.0.0.1:8090"
#host="112.74.17.50:18017"
host="adop.app.doubimeizhi.com"
appkey="271d8700b1074a9582a8cc4cdff94c5f"
#reqTime=`date +%s`

#sign=`echo -n "appkey${appkey}time${reqTime}credit.app.doubimeizhi.com" | md5sum | awk '{print $1}'`
#url="http://adop.app.doubimeizhi.com/advertoper/get?appkey=${appkey}"
#&time=${reqTime}&sign=${sign}
#curl -v -d '{}' "${url}"

curl -v -d '{"pos":1}' "http://${host}/advertoper/get?appkey=cc0dec8c07444e9dadb75d41218c4fe4&time=123&sign=123"
